$title = 'Půjčovna lodí - CESTA Sports';
include("part1.php") ?>
|
include("../val.php");
mysql_Connect("$host", "$username", "$pass");
$result = mysql("$db", "select * from aktuality where nazev != '' order by id desc");
$rows = mysql_Num_Rows($result);
mysql_Close();
?>
$i = 0;
while ($i < $rows):
$id = mysql_result($result, $i, "id");
$nazev = mysql_result($result, $i, "nazev");
$text = mysql_result($result, $i, "text");
?>
echo $nazev ?> |
| echo NL2BR($text) ?> |
|
$i++;
endwhile;
?>
|
include("part2.php") ?>